package com.rose.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rose.common.utils.PageUtils;
import com.rose.mall.product.entity.AttrAttrgroupRelationEntity;
import com.rose.mall.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author rose
 * @email 1942951600@qq.com
 * @date 2021-06-10 15:38:01
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    //提供分页需要的parmas
    PageUtils queryPage(Map<String, Object> params);

    //添加关联关系
    void addRelation(Long attrGroupId, Long attrId);

    //批量保存关联关系
    void saveBatch(List<AttrGroupRelationVo> vos);
}

